<%-- 
    Document   : Alphanumeric
    Created on : 16/08/2011, 2:03:21 PM
    Author     : Lewis Kelly
--%>
<script language="javascript">
    function checkForm(){
        var question = document.getElementById('ASAquestion').value;
        var answer = document.getElementById('ASAAnswer').value;
        if (question == "" || answer == ""){
            alert("Please fill in a Question and Answer");
            return false;
        }
    }
    
</script>

<style type="text/css">
    label{
        display:block;
    }
    input{
        
    }
    #numtable{
        padding-left: 250px;
        padding-bottom: 30px;
        width:auto;
    }
</style>
<%@ include file="../header.jsp" %>
<link rel="stylesheet" type="text/css" href="../style.css"/>
<div id="content-container1">
    <div id="content">
        <h3>Create New Question</h3>
        <div id="numtable">
                <form:form method="post" name="numericForm" id="numericForm">
                    <label><b>Enter Question: </b></label><INPUT TYPE='TEXT' NAME='ASAquestion' SIZE='40' id='ASAquestion' /> <br /><br />
                    
                    <INPUT TYPE=SUBMIT  value="Submit" onclick="return checkForm()">
                        <INPUT TYPE=RESET>
                </form:form>

        <p> <input type="button" value="Back" onClick="javascript: history.go(-1)"></p>
        </div>
    </div>
    <%@ include file="../footer.jsp" %>
